package com.ruoyi.StarStudio.Service;

import com.ruoyi.StarStudio.Domain.Zone;

import java.util.List;

public interface ZoneService {

    public List<Zone> getAll();
    public Zone getById(int zoneId);
    public void add(Zone zone);
    public void update(Zone zone);
    public void delete(int zoneId);
    List<Zone> getList(Zone zone);  //带搜索查询

    /**
     * Excel导入地块数据
     * @param zoneList
     * @param isUpdateSupport
     * @return
     */
    String importZone(List<Zone> zoneList, boolean isUpdateSupport);
}
